package com.example.springboot_jpa.dao;


import com.example.springboot_jpa.entity.Employee;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface EmployeeRepository extends JpaRepository<Employee,Integer> {
    public List <Employee> findAllBySalaryGreaterThan(int salary);

}
